<?php /* Smarty version 2.6.16, created on 2009-04-30 00:21:08
         compiled from Posts.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'Posts.html', 1, false),array('function', 'bookmarks', 'Posts.html', 6, false),array('function', 'url', 'Posts.html', 9, false),array('function', 'language', 'Posts.html', 10, false),array('function', 'module', 'Posts.html', 44, false),array('function', 'img', 'Posts.html', 47, false),array('modifier', 'date_format', 'Posts.html', 65, false),array('modifier', 'process_code', 'Posts.html', 80, false),)), $this); ?>
<?php echo smarty_function_messages(array('block' => 'ForumPosts'), $this);?>


<table style="width:100%;" cellpadding="0" cellspacing="0">
<tr>
<td>
<?php echo smarty_function_bookmarks(array(), $this);?>

</td>
<td style="text-align:right;">
    <a href="<?php echo smarty_function_url(array('link' => 'public.rss','act' => 'posts','id' => $this->_tpl_vars['iTopicId'],'rss' => 10), $this);?>
">
    <img src="design/pic/rss10.gif" class="sqr" style="vertical-align:middle;" alt="<?php echo smarty_function_language(array('text' => 'rss_1_0'), $this);?>
" title="<?php echo smarty_function_language(array('text' => 'link_to_rss_1_0'), $this);?>
"/>
    </a>
    &nbsp;&nbsp;&nbsp;
    <a href="<?php echo smarty_function_url(array('link' => 'public.rss','act' => 'posts','id' => $this->_tpl_vars['iTopicId'],'rss' => 20), $this);?>
">
    <img src="design/pic/rss20.gif" class="sqr" style="vertical-align:middle;" alt="<?php echo smarty_function_language(array('text' => 'rss_2_0'), $this);?>
" title="<?php echo smarty_function_language(array('text' => 'link_to_rss_2_0'), $this);?>
"/>
    </a>
</td>
</tr>
</table>
    <br />

<table style="width:100%;" cellpadding="0">
    <tr>
        <td style="width:60%;font-size:7pt;" class="color"></td>
        <td style="text-align:right;font-size:7pt;">
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        </td>
    </tr>
</table>

<table style="width:100%;" class="forum-1" cellpadding="5" cellspacing="1">
    <tr>
        <td style="font-size:8pt;"><?php echo smarty_function_language(array('text' => 'total_views'), $this);?>
: <?php echo $this->_tpl_vars['aTopic']['view']; ?>
 - <?php echo smarty_function_language(array('text' => 'total_replies'), $this);?>
: <?php echo $this->_tpl_vars['aTopic']['total_replies']; ?>
</td>
    </tr>
</table>

<?php if ($this->_tpl_vars['aTopic'] && ( 'last' == $this->_tpl_vars['aPaging']['current'] || '1' == $this->_tpl_vars['aPaging']['current'] )): ?>
<a name="top"></a> <a name="t<?php echo $this->_tpl_vars['aTopic']['id']; ?>
"></a>
<table style="width:100%;" class="forum-2" cellpadding="5" cellspacing="1">
    <tr>
        <td style="vertical-align:top;font-size:8pt;width:20%;text-align:center;" class="forum-3">

        <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aTopic']['user']), $this);?>
">
            <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aTopic']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aTopic']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

        </a>

        <div style="padding:5px;"><?php echo smarty_function_img(array('src' => $this->_tpl_vars['aTopic']['memb_image'],'alt' => "",'style' => "vertical-align:middle;"), $this);?>
</div>
        <?php if (! getParam ( 'profile_display_points' )): ?>
        <div style="padding:5px;"><span><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/stars.html", 'smarty_include_vars' => array('aUserStarsInfo' => $this->_tpl_vars['aTopic']['stars_info'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></span></div>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['bIsAdmin']): ?>
            <br /><br />
            <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','act' => 'forum_topic_delete'), $this);?>
" onclick="return sure('<?php echo smarty_function_language(array('text' => 'are_you_sure_to_delete_this_topic'), $this);?>
');">[ <?php echo smarty_function_language(array('text' => 'delete_topic'), $this);?>
 ]</a>
            <br /><br />
            <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.forum.move-topic','id' => $this->_tpl_vars['aTopic']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'move_topic_141'), $this);?>
 ]</a>
            <br />
        <?php endif; ?>
        <br />

        </td>
        <td style="vertical-align:top;font-size:8pt;width:80%;" class="forum-4">

        <table style="width:100%;" class="forum-2">
            <tr>
                <td style="width:50%;font-size:8pt;"><?php echo smarty_function_language(array('text' => 'posted_by'), $this);?>
: <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aTopic']['user']), $this);?>
"><?php echo $this->_tpl_vars['aTopic']['user']; ?>
</a> <?php echo smarty_function_language(array('text' => 'on'), $this);?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['aTopic']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateTimeFormat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateTimeFormat'])); ?>
</td>
                <td style="width:50%;font-size:8pt;text-align:right;">
                    <?php if ($this->_tpl_vars['bIsAdmin'] || $this->_tpl_vars['bTopicAuthor']): ?>
                        <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.forum.topic-post','id' => $this->_tpl_vars['aTopic']['type'],'topic' => $this->_tpl_vars['aTopic']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'edit'), $this);?>
 ]</a>
                    <?php endif; ?>
                    <?php if (getUser ( 'id' )): ?>
                    <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.forum.posts','id' => $this->_tpl_vars['aTopic']['id'],'post' => 'reply','quote' => 'start'), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'quote'), $this);?>
 ]</a>
                    <?php endif; ?>
                </td>
            </tr>
        </table>

        <br />
        <br />

        <div style="padding:10px;"><?php echo ((is_array($_tmp=$this->_tpl_vars['aTopic']['text'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>
</div>

        <?php if ($this->_tpl_vars['aTopic']['user_headline']): ?>
        <br /><br /><br /><br />
        <div style="padding:5px;">-------------------------------------------------------------- <br />
        <?php echo ((is_array($_tmp=$this->_tpl_vars['aTopic']['user_headline'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>
</div>
        <?php endif; ?>

        </td>
    </tr>

</table>
<?php endif; ?>

<?php $_from = $this->_tpl_vars['aPosts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['aPost']):
?>
<a name="r<?php echo $this->_tpl_vars['aPost']['id']; ?>
"></a>
<table style="width:100%;" class="forum-2" cellpadding="5" cellspacing="1">
    <tr>
        <td style="vertical-align:top;font-size:8pt;width:20%;text-align:center;" class="forum-3">
        <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aPost']['user']), $this);?>
">
            <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aPost']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aPost']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

        </a>

        <div style="padding:5px;"><?php echo smarty_function_img(array('src' => $this->_tpl_vars['aPost']['memb_image'],'alt' => "",'style' => "vertical-align:middle;"), $this);?>
</div>
        <?php if (! getParam ( 'profile_display_points' )): ?>
        <div style="padding:5px;"><span><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/stars.html", 'smarty_include_vars' => array('aUserStarsInfo' => $this->_tpl_vars['aPost']['stars_info'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></span></div>
        <?php endif; ?>
        <br /><br /><br />
        <br />

        </td>
        <td style="vertical-align:top;font-size:8pt;width:80%;" class="forum-4">

        <table style="width:100%;" class="forum-2">
            <tr>
                <td style="width:50%;font-size:8pt;"><?php echo smarty_function_language(array('text' => 'posted_by'), $this);?>
: <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aPost']['user']), $this);?>
"><?php echo $this->_tpl_vars['aPost']['user']; ?>
</a> on <?php echo ((is_array($_tmp=$this->_tpl_vars['aPost']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateTimeFormat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateTimeFormat'])); ?>
</td>
                <td style="width:50%;font-size:8pt;text-align:right;">
                	<?php if (getUser ( 'id' )): ?>
                    <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','id' => $this->_tpl_vars['aTopic']['id'],'post' => 'reply','quote' => $this->_tpl_vars['aPost']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'quote'), $this);?>
 ]</a>
                    <?php endif; ?>
                    <?php if ($this->_tpl_vars['aPost']['can_delete']): ?><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','act' => 'forum_post_delete','del' => $this->_tpl_vars['aPost']['id']), $this);?>
" onclick="return sure('');">[ <?php echo smarty_function_language(array('text' => 'delete'), $this);?>
 ]</a> <?php endif; ?>
                    <?php if ($this->_tpl_vars['aPost']['can_edit']): ?><a class="link_action" href="<?php echo smarty_function_url(array('link' => 'current','editpost' => $this->_tpl_vars['aPost']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'edit'), $this);?>
 ]</a><?php endif; ?>
                </td>
            </tr>
        </table>

        <br /><br />

        <div style="padding:10px;"><?php echo ((is_array($_tmp=$this->_tpl_vars['aPost']['text'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>
</div>

        <?php if ($this->_tpl_vars['aPost']['user_headline']): ?>
        <br /><br /><br /><br />
        <div style="padding:5px;">-------------------------------------------------------------- <br />
        <?php echo ((is_array($_tmp=$this->_tpl_vars['aPost']['user_headline'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>
</div>
        <?php endif; ?>

        </td>
    </tr>

    <tr>
        <td style="vertical-align:top;font-size:7pt;" class="forum-3" colspan="2"><a href="<?php echo $this->_tpl_vars['sUrl']; ?>
#top"><?php echo smarty_function_language(array('text' => 'back_to_top'), $this);?>
</a></td>
    </tr>

</table>
<?php endforeach; endif; unset($_from); ?>


<table style="width:100%;" class="forum-1" cellpadding="5" cellspacing="1">
    <tr>
        <td style="font-size:8pt;"><?php echo ((is_array($_tmp=$this->_tpl_vars['dtToday'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateFormat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateFormat'])); ?>
</td>
    </tr>
</table>


<table style="width:100%;" cellpadding="0">
    <tr>
        <td style="width:60%;font-size:7pt;" class="color"></td>
        <td style="text-align:right;font-size:7pt;">
           <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sRootPath'])."/_blocks/pager.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
        </td>
    </tr>
</table>

<br />